package cn.imnaer.service.rpc.scenic;

import java.util.List;

import cn.imnaer.service.persistence.model.Scenic;
import cn.imnaer.service.persistence.model.ScenicContribution;
import cn.imnaer.service.rest.view.model.PageInfo;

public interface ScenicComponentRpcApi {
      public PageInfo<Scenic>  getScenicListByCityCode(String cityCode,int currentPage);
      public ScenicContribution  publishContribution(ScenicContribution  contribution);
      public  Scenic   getScenicById(String  scenicId);
      public  List<ScenicContribution>   getScenicContributionList(String  scenicId);
      public  PageInfo<Scenic> search(String keyword,int page);
      public  List<ScenicContribution>  getUserContributionsByUserId(String userId);
      public  List<Scenic> getMyContributeScenics(String userId);
   public  List<Scenic>   getScenicListByScenicGroupId(String scenicGroupId,int currentPage);

}
